package cn.kgc.goodsmanager.service.impl;

import cn.kgc.goodsmanager.mapper.SortMapper;
import cn.kgc.goodsmanager.pojo.Sort;
import cn.kgc.goodsmanager.service.SortService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 郭祥伟
 */
@Service
public class SortServiceImpl implements SortService {
    @Resource
    SortMapper sortMapper;
    @Override
    public List<Sort> selectAll() {
        List<Sort> sortList= sortMapper.selectByExample(null);
        return sortList;
    }
}
